import {
    RouterBean
} from './RouterBean'

export const RouterList: Array<RouterBean> = [
    // {
    //     type: 'Item',
    //     title: '首页',
    //     icon: 'home',
    //     key: 'item0',
    //     link: '/'
    // },
    {
        type: 'SubMenu',
        title: '广告管理',
        icon: 'laptop',
        key: 'sub1',
        children: [{
            type: 'Item',
            title: '广告管理',
            key: 'item1',
            link: '/adManage/ad',
            parentKey: 'sub1'
        }, {
            type: 'Item',
            title: '广告位管理',
            key: 'item2',
            link: '/adManage/Position',
            parentKey: 'sub1'
        }]
    },
    {
        type: 'SubMenu',
        title: '配置管理',
        icon: 'setting',
        key: 'sub2',
        children: [{
            type: 'Item',
            title: '业务方配置',
            key: 'item3',
            link: '/configManage/bu',
            parentKey: 'sub2'
        }, {
            type: 'Item',
            title: '应用名称配置',
            key: 'item4',
            link: '/configManage/app',
            parentKey: 'sub2'
        }, {
            type: 'Item',
            title: '平台配置',
            key: 'item5',
            link: '/configManage/platForm',
            parentKey: 'sub2'
        }, {
            type: 'Item',
            title: '页面配置',
            key: 'item6',
            link: '/configManage/page',
            parentKey: 'sub2'
        }, {
            type: 'Item',
            title: '标签配置',
            key: 'item7',
            link: '/configManage/tag',
            parentKey: 'sub2'
        }]
    }, {
        type: 'SubMenu',
        title: '应用管理',
        icon: 'appstore-o',
        key: 'sub3',
        children: [{
            type: 'Item',
            title: '应用配置',
            key: 'item8',
            link: '/appManage/sudoku',
            parentKey: 'sub2'
        }]
    }, {
        type: 'SubMenu',
        title: '用户管理',
        icon: 'user',
        key: 'sub4',
        children: [{
            type: 'Item',
            title: '用户管理',
            key: 'item9',
            link: '/userManage/user',
            parentKey: 'sub3'
        }]
    }
]